﻿Imports DAO
Imports DTO
Public Class TheLoaiSachBUS
    Public Shared Function LayTheLoai() As List(Of BangTheLoaiSachDTO)
        Dim danhsach As List(Of BangTheLoaiSachDTO) = New List(Of BangTheLoaiSachDTO)
        danhsach = TheLoaiSachDAO.LayTheLoaiSach()
        Return danhsach
    End Function
    Public Shared Function LayBangTheLoai(ByVal tensach As String) As List(Of BangTheLoaiSachDTO)
        Dim ListTheLoai As List(Of BangTheLoaiSachDTO) = New List(Of BangTheLoaiSachDTO)
        ListTheLoai = TheLoaiSachDAO.LayBangTheLoai(tensach)
        Return ListTheLoai
    End Function
End Class
